package com.cherry.basic.demo.service.impl;

import com.cherry.basic.demo.service.IAccountService;

/**
 * bean标签实例化
 */
public class AccountServiceImpl implements IAccountService {

    public void saveAccount() {
        System.out.println("我被创建了");
    }

    public void init(){
        System.out.println("我被初始化了");
    }

    public void destory(){
        System.out.println("我被销毁了-----多例不会被销毁");
    }

}
